<?php
namespace app\admin\controller;
use app\common\controller\AdminBase;
class Index extends AdminBase{
    protected function _initialize(){
        $this->assignList = [
            'initAdminMenu' => true,//加载后台菜单
        ];
        parent::_initialize();
    }
    public function index()
    {
        $this->pageTitle = '后台首页';
        return $this->fetch();
    }
    public function iconfont()
    {
        $this->pageTitle = '字体参考';
        return $this->fetch('iconfont1');
    }
    public function help()
    {
        $this->pageTitle = '后台首页 - 帮助';
        return $this->fetch();
    }
    public function info()
    {
        $this->pageTitle = '后台首页 - 概况';
        return $this->fetch();
    }
}
